Pātuhitia tēnei: Medieval theory of authorship