Pātuhitia tēnei: Defects and geometry in condensed matter physics