Fixed idAttribute on entity_revision model.