Pātuhitia tēnei: Cognition and commitment in Hume's philosophy