Logical fallacy
Masked-man fallacy
The argument substitutes two names for the same individual inside a statement about what someone knows, believes, or recognizes. Knowing a fact under one description does not imply knowing it under another.
Examples
Jo knows who wrote The City of Glass under a pen name. The author is her neighbor, so Jo knows her neighbor wrote it.
Dee thinks the masked rider escaped. The rider was Pat, so Dee believes Pat escaped even though Dee has never heard of Pat.