There was a Washington Irving/Irving Washington thing, but it wasn't Yossarian being confused about it. He used the names alternately when signing soldier's censored letters. IIRC he censored out the signature after having blacked out everything but the articles, or all the nouns, or all the verbs, or some other arbitrary choice of words.