Names are hard because they are arbitrary labels with no meaning to hook onto. The fix is to add meaning: repeat the name immediately, associate it with an image or a person you know, and use it again within the conversation.
Attention is everything — most ‘forgotten’ names were never encoded because you were distracted at the introduction.