In The Ethnographic State: France and the Invention of Moroccan Islam, Edmund Burke does the important work of historicizing colonial-era research on Morocco and Moroccans.
How did the world of nation-states come about? What happened to the world of empires that preceded it? How did the transition take place and how inevitable was it? These may seem (and indeed are) old questions.