Children tend to prefer to be friends with other children who speak with the same local accent as they have, even if they grow up in a diverse community and are regularly exposed to a variety of accents, according to new research.