imhotep had arrived in the city of magic at the age of twelve , his novice spell , the spell he was judged upon by the cities sorcerers to determine his fitness to become an apprentice , had been the stone moving spell peter had used .