Or they could just be helping to identify specific John Smiths in a town rather than all of the John Smiths in the same town.
Correct, its a legal reason more than anything else.