In days leading up to the confirmation vote, the same notion was implicit in the rationale of every senator who attempted to defend Kavanaugh without wholly dismissing Ford’s accusations — her vivid testimony that he pinned her to a bed and tried to rape her when they were teens in the 1980s:

“I believe that she is a survivor of a sexual assault and that this trauma has upended her life,” said Susan Collins (R-Maine), who gave Kavanaugh his crucial 50th vote.

“Something happened to Dr. Ford; I don’t believe the facts show it was Brett Kavanaugh," said Sen. Joe Manchin III (D-W.Va.), the only Democrat to support the nominee.

“That would get me off the hook of having to make a hard decision,” said Sen. Lindsey O. Graham (R-S.C.), one of Kavanaugh’s most loyal defenders. “I don’t know if this is a case of mistaken identity.”

It’s easy to forget that less than three weeks ago, when the mistaken-identity theory was first formulated, it was so widely ridiculed that a pundit who advanced it on Twitter subsequently apologized and offered to resign from his job. But for many cognitive researchers who study how memories actually form during traumatic events, the theory never stopped sounding ridiculous.

“The person lying on top of you — who she’d previously met — you’re not going to forget that,” said Richard Huganir, a neuroscientist at Johns Hopkins School of Medicine. “There’s a total consensus in the field of memory ... If anything, fear and trauma enhances the encoding of the memory at a molecular level."

As he and several other researchers told The Washington Post, being attacked floods the brain with chemicals, including norepinephrine, which helps people remember whatever they are focused on. (Ford, a psychologist herself, even mentioned it in her testimony.)

It’s essentially the same phenomenon that makes people forever remember what they were doing when planes hit the World Trade Center on 9/11, or when they learned John F. Kennedy was shot. It’s such a basic tenet of psychology and cognitive science that some researchers watched the mistaken-identity theory spread through the Senate this month with a sense of stunned dismay.

“I watched all the hearings that took place last week and was just floored at the number of people who offered that as an explanation,” said Ira Hyman, a cognitive psychologist who specializes in traumatic memories at Western Washington University.

“This story [of mistaken identity] that’s being offered here is a way of both trying to validate sexual assault and not deny it — which is a lovely change — but at the same time create a narrative that Kavanaugh couldn’t have been the person who did it," he said. "That’s just not consistent with memory research on misidentification.”

Sexual assault victims do sometimes misidentify their attackers, he noted, has but those are almost always attacks by strangers — when the victim’s hyperactive memory has no familiar face to etch into the brain.

Lila Davachi, a cognitive neuroscientist at Columbia University, analogized the traumatic memory formation process to cranking up the contrast on a photo — central details get heightened, while those in the background get washed out.

“If someone has a gun on you you’ll remember the gun. There’s a snapshot of critical features,” she said. “In this case it was a party with friends and she knew him. It is ridiculous to say she wouldn’t remember who it was."

Asked last week if she could have mistaken her attacker, Ford testified that she is “100 percent” certain it was Kavanaugh. She vividly recalled other details of the night — the single beer she drank at the party, music in the bedroom she was pushed into, boys laughing as she was pinned to a bed — while having no memory of how she arrived or got home.

Trump has mocked her story because of these gaps, but it’s perfectly consistent with the science of traumatic memory formation.

Mara Mather, a professor at the University of Southern California, has performed laboratory studies in which volunteers are given electric shocks or subjected to loud noises while they look at a set of symbols — to find out which ones they remember while their brains are flooded with the same chemicals released during trauma.

“ I guess the Republicans have been debating why does she forget getting home, but that sounds very plausible," she said. “It focuses the brain on whatever stands out at that moment. The things that are not standing out are even more ignored.”

Like other researchers, she could not recall a single case of a sexual assault victim misremembering a known attacker — save for rare instances in which people, often children, were coached into falsely accusing friends and family members.

“According to her account, she never forgot about this,” Mather noted. “She tried to.”

Also like other researchers, she said Kavanaugh’s memory was more likely to be suspect than Ford’s, if he was as heavy a drinker in high school as many people who knew him have alleged.

“I could see a very plausible scenario where they are both telling the truth as they know it, and he is forgetting something that happened when he was drunk,” Mather said.

In fact, Collins later explained that she believed Ford and Kavanaugh were doing just that — telling the truth — as she weighed their mutually exclusive testimonies.

“I found Dr. Ford’s testimony to be heart wrenching, painful, compelling and I believe she believes what she testified to,” the senator told CNN on Sunday morning. “Here you have two people who are each 100 percent certain of what they were saying.”

The difference between senators and scientists is that Collins, like many in her party, resolved the dilemma by assuming a fault in the victim’s memory.

“I do believe that she was assaulted,” Collins told CNN. "I don’t know by whom, and I’m not certain when, but I do not believe that he was the assailant.”

How well such logic holds up with the lay population could be put to the test as Democrats seek to punish Kavanaugh’s backers in the midterm elections and beyond. After Collins left the CNN set, Sen. Mazie Hirono (D-HI) sat down to say she found the Republican’s equivocation “even more insulting.”

“To say she thinks that Dr. Ford thinks she was assaulted, what is that?” Hirono said. “Was she mistaken?”