fixes #5

Validation for uniqueness is scoped by default.
Restoring deleted items is not yet supported but at least the references
will remain intact.