Support named items in dimension handling for HTMLCollection Closes GH-13937.
Implement HTMLCollection::namedItem()