code: func newSimpleRegistrar(scope, namePrefix string, table *dosa.Table) (dosa.Registrar, error) {
  	if err := dosa.IsValidNamePrefix(namePrefix); err != nil {
  		return nil, errors.Wrap(err, "failed to construct Registrar")
  	}
  
  	re := dosa.NewRegisteredEntity(scope, namePrefix, table)
  
  	return &simpleRegistrar{
  		scope:      scope,
  		namePrefix: namePrefix,
  		entity:     re,
  	}, nil
  }
docs: // newSimpleRegistrar creates a new simpleRegistrar