raise error on destroy when no pk is set

if you have a model without primary keys set
a model.destroy would cause the whole table to be deleted.
this makes sure that an error is raised in that case