Modify pattern variable name.