NOTE: This card has been buffed in Rules Reference 1.7 and now reads:
Alter-Ego Action: Search your deck and discard pile for an ally and an upgrade that can be attached to an ally. Add them to your hand. (Shuffle.)
"Can be attached to that ally" has been changed to "can be attached to an ally".
This means you can now find any ally plus any upgrade that can be attached to any ally in the game. For instance, you can fetch a non-identity specific ally and Sidekick.