Avoid type coercion related errors when testing to see if a value is an ID that needs to be remapped.