generate id for new field