Add the possibility to test the uniqueness of the values of a sample attribute and enforce it as a constraint.