Pātuhitia tēnei: On the medieval theory of signs