id span in debug only

I added logic in _Layout.cshtml to wrap the elements in the id span only if <compilation debug=true>