A gem to set the digested value before validation and validate uniqueness.