Sociolinguistics and the theory of grammar