Added comments to regenerate_id()