Pātuhitia tēnei: The functions of language and cognition