formatter: fix list comprehension in id.tpl
formatter: fix list comprehension in id.tpl

* Fixes the list comprehension in id.tpl, since Jinja
  does not support it.  (closes #3405)

Signed-off-by: Ilias Koutsakis <ddbde9b76c26601789359358950ea8529deb176c@cern.ch>
Co-authored-by: Jiri Kuncar <2bdffcb416fed3002465740d19a053a39918cbe5@cern.ch>

tiborsimko/invenio-formatter,inveniosoftware/invenio-formatter,inveniosoftware/invenio-formatter,tiborsimko/invenio-formatter,inveniosoftware/invenio-formatter,tiborsimko/invenio-formatter