Calculates the hash code for the DIDDocument object.
The hash code is calculated based on the id field and the content hash code of the coreProperties array.
The hash code of the DIDDocument object.