code: func IDFromString(s string) (ID, error) {
  	if _, err := mh.Cast([]byte(s)); err != nil {
  		return ID(""), err
  	}
  	return ID(s), nil
  }
docs: // IDFromString cast a string to ID type, and validate
  // the id to make sure it is a multihash.