hash

Calculates a hash value for the AggregateId.

This method generates a unique hash by combining the hash codes of tenantId, contextName, aggregateName, and id. The HASH_MAGIC constant ensures better distribution and consistency.

Return

The computed hash value for this AggregateId.