add unique_field validator
compile