code: func ParseName(ccName string) *sysccprovider.ChaincodeInstance {
  	ci := &sysccprovider.ChaincodeInstance{}
  
  	z := strings.SplitN(ccName, "/", 2)
  	if len(z) == 2 {
  		ci.ChainID = z[1]
  	}
  	z = strings.SplitN(z[0], ":", 2)
  	if len(z) == 2 {
  		ci.ChaincodeVersion = z[1]
  	}
  	ci.ChaincodeName = z[0]
  
  	return ci
  }
docs: // ParseName parses a chaincode name into a ChaincodeInstance. The name should
  // be of the form "chaincode-name:version/channel-name" with optional elements.