Pātuhitia tēnei: The medieval origins of the legal profession