If you are unable to remember someone's first name, simply ask them: "What's your name?" When they reply with their first name, laugh and say "Oh no, I knew that, of course. I meant your last name". This is a much more acceptable thing to forget--and you still get their full name.