Constructor overload for creating a DID object based on a String.
The input String from which the DID object will be created. The String should have the format "schema:method:methodId".