In what way is this different from jquery? You can do this too:
HTML.find('body section .identity')
which is just like jquery's $('body section .identity')
and both depend on the structure of your document, so if the doc changes, the code must change.