Adding badge ID back into template

Seems I was a bit over zealous!