Improves readability of NamedSelector xpath expressions

Relates to #434

Now it's clearly visible what is being matched and tests in #437 can be easily added.