add unique to id fields