Authorship in Mediaeval Arabic and Persian Literatures