_really_rewrite_record() now checks whether the new ID has changed