Try a method-call to c.id() with the {% %} Jinja2 markup