code: func (msp *bccspmsp) Setup(conf1 *m.MSPConfig) error {
  	if conf1 == nil {
  		return errors.New("Setup error: nil conf reference")
  	}
  
  	// given that it's an msp of type fabric, extract the MSPConfig instance
  	conf := &m.FabricMSPConfig{}
  	err := proto.Unmarshal(conf1.Config, conf)
  	if err != nil {
  		return errors.Wrap(err, "failed unmarshalling fabric msp config")
  	}
  
  	// set the name for this msp
  	msp.name = conf.Name
  	mspLogger.Debugf("Setting up MSP instance %s", msp.name)
  
  	// setup
  	return msp.internalSetupFunc(conf)
  }
docs: // Setup sets up the internal data structures
  // for this MSP, given an MSPConfig ref; it
  // returns nil in case of success or an error otherwise