if (eHTMLUnit_String == aValue.GetUnit()) { nsAutoString  buffer; mID = NS_NewAtom(aValue.GetStringValue(buffer)); }
mID = NS_NewAtom(aValue);
HTMLAttributesImpl::SetAttributeFor(nsIAtom* aAttrName,                                    const nsHTMLValue& aValue,                                    PRBool aMappedToStyle,                                    nsIHTMLContent* aContent,                                    nsIHTMLStyleSheet* aSheet,                                    PRInt32& aCount){  nsresult result = NS_OK;  if (eHTMLUnit_Null == aValue.GetUnit()) {    return UnsetAttributeFor(aAttrName, aContent, aSheet, aCount);  }    if (nsHTMLAtoms::id == aAttrName) {    NS_IF_RELEASE(mID);    if (eHTMLUnit_String == aValue.GetUnit()) {      nsAutoString  buffer;      mID = NS_NewAtom(aValue.GetStringValue(buffer));    }  }