I think returning the channel name is the number 1 use case. I'd drop the other option.
Getting the index from the name is one line of python