Support unique validations when the primary key isn't ID (#105)