code: def newFromBehavior(name, id=None):
      
      name = name.upper()
      behavior = getBehavior(name, id)
      if behavior is None:
          raise VObjectError("No behavior found named %s" % name)
      if behavior.isComponent:
          obj = Component(name)
      else:
          obj = ContentLine(name, [], '')
      obj.behavior = behavior
      obj.isNative = False
      return obj
docs: Given a name, return a behaviored ContentLine or Component.