Emergence, flexibility, and stabilization of language in a physics classroom