code: function componentName(rawname) {
  	var name = rawname.split(':')[0],
  		index = name.replace('\\', '/').indexOf('/');
  	return (index > 0) ? name.substring(0, index) : name;
  }
docs: extract component name from inputting rawname