Reanable check on attribute uniqueness in forms