Statistics for Imperialism, state formation and the establishment of a Muslim community at the Cape of Good Hope, 1770-1840 : a study in urban resistance