My parents and several schoolteachers often called me by my older brother's name, or called my sisters by one anothers' names. It's not as though my parents couldn't tell their own children apart, it's just that sometimes saying a name is an autopilot thing.
I recently took a friend to the grocery store, and called her son by my son's name when I wanted him to move out of the way of someone else's cart.