Understanding the relationship between speaker’s attitudes and linguistic behaviour across speech communities