Support for custom object id serialization by subclasses. Mainly to support FasterXML/jackson-dataformat-xml#81.