PIM-3371 : re-work unique value validator to use it without form