Rewrited /gm

Then don't compare names, compare `UniqueID`s.