The Wisdom of Youth: legitimising the Caliph al-Muqtadir