Uniqueindexes

A simple implementation for uniques indexes.

Only on a simple level, not complex (like "product.quantity").

Any idea to do better ?