add resource id as placeholder

added the resource id as placeholder to the itemTpl. I currently need this to build a sitemap for a multilingual website (where I need the ID to find the translated resources). Should be useful for others too.