Pātuhitia tēnei: The many roots of medieval logic