Deliberately getting someone’s name wrong is a sign of respect.
"When people get too chummy with me I like to call them by the wrong name to let them know I don't really care about them."