next();
String id = !end() ? identifier() : null;
if (id == null || id.isEmpty()) {
throw new ParserException("Expected id at position " + pos);
}
HashSelector hs = new HashSelector(id, new Context(content, "#" + id, initialLoopPos, pos));
simpleSelectorList.add(hs);
parserListener.idSelector(hs);
sb.append(id);
} else if (current == '[') {
//attribute selectors