def identifyChannels(channel_names):
    """
    Gives each channel an id and return a dictionary
    """
    channels_dict = {}
    for i in range(len(channel_names)):
        channels_dict[channel_names[i]] = i
    return channels_dict