Fix geodata ID in legend mako

This addresses https://github.com/geoadmin/mf-geoadmin3/issues/1573