Pātuhitia tēnei: A theory of syllabification and segmental alternation