alteregoism

al·ter·e·go·ism

(awl'ter-ē'gō-izm),
Identification with people of similar personality to one's own.