def _slugify(text): # using _ instead of - makes ids easier to select, and use without quotes in a wider set of contexts return __slugify(text).replace('-', '_')