assignStrataLabel function

Function to assign the optimized strata labels