add unique field by default if there is no unique id specified