Bug 126632 Template label does not have id attribute in html output.
Overview Description: Template label with a value defined is not given an "id" attribute in html output. The attached report (label.rptdesign) has a template label with the text "Template Label Text". When the report is shown in the preview pane, the div tag containing the label text does not have an id attribute. In contrast, the table tag has an id attribute with a unique id. Steps to reproduce: Open attached report label.rptdesign. Select "preview" tab. View source for the resulting html page. Actual results: div tag containing label text does not have an id attribute. Expected results: div tag contaiing label text has a unique id attribute.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
/**
	 * should output the page header & footer
	 */
	protected boolean outputMasterPageContent = true;
	/**
	 * specifies if the HTML output is embeddable
	 */
	protected boolean isEmbeddable = false;
	/**
	 * the url encoding
	 */
	protected String urlEncoding = null;
	/**
	 * specified the current page number, starting from 0
	 */
	protected int pageNo = 0;
	/**
	 * the <code>HTMLWriter<code> object that is used to output HTML content
	 */
	protected HTMLWriter writer;
	/**
	 * the image reder context
	 */
	protected Object renderContext;
	/**
	 * indicates that the styled element is hidden or not
	 */
	protected Stack stack = new Stack( );
	/**
	 * An Log object that <code>HTMLReportEmitter</code> use to log the error,