For example, in a biography there could be more people indicated by a common surname.
an arbitrary substitution of all proper name anaphors could be wrong, because the anaphora resolution software may fail to identify the correct subject: in our example, if the head of the coreference chain is "Hamilton", we risk to replace "Margaret Heafield Hamilton" with her husband, whose surname is Hamilton too.