public static function getComponentById(array $componentToData, $id){
    	foreach ($componentToData as $ctd){
    		if ($ctd['id'] == $id){
    			return $ctd['component'];
    		}
    	}
    	
    	return null;
    }