A seasoned expert on the Maghreb offers a fine-grained analysis of the region's politics in a time of upheaval.