Assign IDs

Is there any way built into the form items (fieldset, block, etc) in which one can assign an ID so that the collection of sub items can be accessed later as a group?

For example, can a particular fieldset be accessed and then the children items be accessed?

Well, I hope this is the right approach:

I extended the dhtmlXForm.prototype.items.[…].render(item, data)
function to include:

        ...
        var f = document.createElement("[form type here]");
        f.className = "dhxform_[form type here]";
        f.id = data.idx;
        ...

You can use your approach as well.
More form item “name” parameter is an ID for this item.