// Allows user to add attributes to the <label..> tag
IValueMap labelAttrs = getAdditionalAttributesForLabel(index, choice);
StringBuilder extraLabelAttributes = new StringBuilder();
if (labelAttrs != null)
{
for (Map.Entry<String, Object> attr : labelAttrs.entrySet())
{
extraLabelAttributes.append(' ')
.append(attr.getKey())
.append("=\"")
.append(attr.getValue())