Generates a hex representation of this ObjectId instance.
The output string can be passed to ObjectId constructor to obtain a new identical ObjectId instance.