Current UI for editing the attributes of an <input> element split the id attribute at the top and the name/other attributes at the bottom of the stack. Form attributes then split the attributes for the selected element.
Instead, keeping all of the selected element's attributes grouped together in the stack, then followed by form attributes, would provide a more intuitive way to organize the information/functionality.