What were the major social divisions in the Arab Muslim empire and how did they impact society?