Pātuhitia tēnei: A behavioral theory of elections