do not ask the index for mdoel existance if the model has no id attribute