It happens all the time in movies and books and TV programs: the name slip-up of a former flame or a more-desired person for the person you're actually with. I've always thought it a really lame device; it's unoriginal and unrealistic. Nobody actually does that.
I totally called Tony "Tim" last night. Not to his face, but still embarrassing. Apparently it's not that hard of a mistake to make.