I don't find any benefit for this design.
Only see many warning note about element id is not safe to use in the doc.
Ex:
Is there any reason for that?
Btw this design may seem not a problem, but when use framework, it cause some extra effort if we need an unique id.
And none of this happen if element id is unique and safe to use.