The story
The trail is disputed, but the likeliest source is Classical Nahuatl tocayoh, one who has a name. In Mexico two men called Luis will greet each other as tocayo and drop the surname altogether. English keeps namesake for the formal version and stops there.