Added support for querying element attributes

[ModelLocator] attribute now supports AttributeName property which will
query the HTML attribute with the given name, instead of the value/text
of the element.