Extension that creates global variables from channels and fields which outputs the channel/field id