The easiest way to test whether a string is a name might be to parse it and see if it throws an exception?