generic nextFieldId