history: I called someone by the wrong name earlier today. I met them a long time ago and I guess it didn't stick properly in my brain.
current: I called someone by the wrong name earlier today. I didn't really know them and hadn't seen them in ages.
next: I hate when that happens. I bet you meant well but you're left looking like a crazy person! I hope they understood.