Add data attributes to body

Furthermore, the body id for new templates will be `tpl_{$templateNameApplication}_{$templateName}`, the old format `tpl{$templateName|ucfirst}` is deprecated and you should not rely on it anymore.