The value of id attribute is supposed to be unique. It doesn't make any sense to use a CSS selector with an element name in front of #id_name, in the sense that no two elements can have the same id value anyway. W3C website implies that two different elements can have the same id, and in the same document at the same time. Theoretically, there is a special case for h1#chapter1 where there is a different element with id=chapter1 but in such case there could not be h1 with id=chapter1 in the same document anyway. For example, two different documents on two different websites use the same id for different elements and both documents use the same style sheet. Such special cases have to be described in any spec and not left out to speculations.
This excerpt is from https://www.w3.org/TR/css3-selectors/#id-selectors
The following ID selector represents an h1 element whose ID-typed attribute has the value "chapter1": h1#chapter1
The following ID selector represents any element whose ID-typed attribute has the value "chapter1": #chapter1
The following selector represents any element whose ID-typed attribute has the value "z98y". *#z98y