PT50392515: Do not add im id as alias mapping when an alias already defined

- check if im id in user alias set