Parses a DID string into method and identifier parts.
Pair of (method, identifier) or null if invalid
The DID string (e.g., "did:web:example.com")