Make the matcher and wrapper Ids in PatSyn into LocalIds, not GlobalIds