Maybe you were looking for...

How can I give a nickname to an NPC?

How can I give a nickname or items to an NPC in vanilla Minecraft?