I've been looking at certificates of electoral votes for presidential elections in the US, and I've noticed that in many cases there is a lack of specificity. Altough some of them state the state where the candidates reside (and I've seen at least one where even their town is mentioned), in many cases the only thing the certificate mentions is the name of the candidates itself. For example in North Carolina, only the candidates' first and last names were mentioned in 2020 - not even the initials of their middle names.
Now, according to manyof.me, there are roughly 17 people in the United States named Donald Trump and 2 people named Kamala Harris (and also 292 named John McCain and 334 named George Bush). So how do we know which of them the electors actually voted for?
This question might seem unreasonable, but please note that in a politically charged situation, loopholes like this become relevant. A candidate who is losing the election could in theory (if he or she has an allied vice president who presides over the Senate) try to invalidate their opponent's votes during the process of certification on January 6 by claiming that they went to someone else. In a tight race, even by invalidating the votes from a single state could flip the outcome of the election.