SMS dit: Principles and methods in historical phonology