In the Late Empire and Middle Ages Vergilius was spelled Virgilius. Who attributed magical powers to Virgil in the middle ages