Magento 2 backend incorrectly renders the nested fieldsets: adds nested TR tags with the same id

Nesting of the fieldsets is allowed in the HTML specifications: http://www.w3.org/TR/html5/forms.html#the-fieldset-element

Magento 2 backend renders the nested fieldsets incorrectly : adds nested TR tags with the same id.

The first TR is added here:

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Config/Block/System/Config/Form/Field.php#L63


https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Config/Block/System/Config/Form/Field.php#L186

The second TR is added here:

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Config/Block/System/Config/Form/Fieldset.php#L64


https://github.com/magento/magento2/issues/2817