Medieval Islamic historiography: remembering rebellion