Check for names composed only of upper case or lower case letters