A framework for contextualising the formation and transformation of the medina in North Africa. (11th November 2019)