raise if empty uniq_attrs in builders