Now supports HTML (xml) IDs for writing, but not reading.