Hi Damir,
Try using {ROWCOUNT} istead of {id}.
ROWCOUNT is a built-in template field that represents the row number inside the list.
Example: <li class="item-{ROWCOUNT}">
There's also {INDEX} and {VALUE} fields when working with indexed arrays.
Let me know if this is what you're looking for.