Added a Channel Functions template category and changed the channel id and name templates to be in the channel context. Also changed the global scripts reference list to show anything in the channel context, since the postprocessor has channel items and the response map in its scope and the preprocessor has channel items in its scope. Note that this will cause these items to display for all global scripts, even though they will not work in all scripts.
This same issue occurred with the response map in the channel postprocessor in MIRTH-1206. Issue: MIRTH-1536