function identifierNodeToVElementMatcher(selector) {
  const id = selector.value
  return (element) => {
    const attrValue = getAttributeValue(element, 'id')
    if (attrValue == null) {
      return false
    }
    return attrValue === id
  }
}
Convert Identifier node to VElementMatcher
@param {parser.Identifier} selector
@returns {VElementMatcher}