when checking whether a name is covered, the ancestor name that was found can be set into a name object passed in.