fix #754 make TemplateContext.getDomId private

See #754.