code: static String getLocalTemplateName(TemplateNode node) {
      String templateName = node.getPartialTemplateName().substring(1);
      if (node.getVisibility() == Visibility.PRIVATE) {
        return "__" + templateName;
      }
      return templateName;
    }
docs: Returns the python name for the template. Suitable for calling within the same module.