Format ID as part of elementUniqueID().