Creates a new ContactName based on the parsed name_str.
name_str
a string representing a contact's full name
A new ContactName struct.