def next_id(self, name):
        try:
            self._COUNTERS[name].next()
            return str(self._COUNTERS[name])
        except __HOLE__:
            ctr = self._COUNTERS[name] = _Counter(name)
            return str(ctr)

    # helpers for adding specific elements
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/XHTML.py/XHTMLDocument.next_id