Building social cognitive models of language change