Issue #2233619 by slashrsm, Jalandhar: Merge lookup functions in AliasManager.