Languages of Ancient and Medieval Nubia: Adaptation and Innovation