Revert back to old global $id, if any.