Add properties for member lookup based on name and id in HTMLCollections

HTMLCollections should support string indices (name and id) as well as `namedItem`, `item` and number indices.