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
writer.attribute( HTMLTags.ATTR_ID, bookmark );
		}
		else
		{
			writer.attribute( HTMLTags.ATTR_NAME, bookmark );
		}
	}
	/**
	 * Checks whether the element is block, inline or inline-block level. In
	 * BIRT, the absolute positioning model is used and a box is explicitly
	 * offset with respect to its containing block. When an element's x or y is
	 * set, it will be treated as a block level element regardless of the
	 * 'Display' property set in style. When designating width or height value
	 * to an inline element, it will be treated as inline-block.
	 * 
	 * @param x
	 *            Specifies how far a box's left margin edge is offset to the
	 *            right of the left edge of the box's containing block.
	 * @param y
	 *            Specifies how far an absolutely positioned box's top margin
	 *            edge is offset below the top edge of the box's containing
	 *            block.
	 * @param width
	 *            The width of the element.
	 * @param height
	 *            The height of the element.
	 * @param style
	 *            The <code>IStyle</code> object.
	 * @param styleBuffer
	 *            The <code>StringBuffer</code> object that returns 'style'