I did not come across tools that help in this situation. But I used the conventions below with moderate success. However, none of them is an exact science.
Regarding identifiers:
Since identifiers are faster, I try to use them every time I want to access a certain part of my HTML, no matter how I use it (styling / jQuery / testing / etc).
However, since each element can have only one identifier, there is really no way to use the convention or naming style for different purposes. And I found that if I wanted to refer to an element for one reason, I have a chance that I want again for another reason.
: jQuery ( ), , , , .
, , , , , . , .
, ,
,
, . , , , .
, HTML. (, , , , )
, - , , . , "" .
:
2+ , , ... , , .
; , . , , , , . , , , , : " , ". .
, ID ( ), :
, "" , , , "tst". , :
- , , ( ). - , - , , , .
TL;DR;
, , , . , !