MDL-71981 user: escape identity fields if writer supports HTML.