Add default implementations for getCssSelector and getXPathSelector; fix
minor bug; add selector string methods to ByIdOrName class