Reset _ids for rebuild