It depends on the DID method. The DID is a string with the following pattern: did:<method>:<method-specific-id>. There's a variety of DID methods with different underlying public ledgers, such as Bitcoin and Ethereum. The <method-specific-id> depends on the <method>. For instance, there's DID methods that use the underlying wallet address as the id and others use the smart contract deployed.
What would I put in the Bitcoin blockchain in order to create a DID? A public key hash and what else? In other words, what do I want to tie together with a public key, using the Bitcoin blockchain, in order to use it as an identifier?