model: Add a swhid() method to RawExtrinsicMetadata.
All other hashable objects but ExtId have one.
It will be used by swh-deposit.