Distinguish binding payload source based on `ctx.event.InputName`. 1. New function named `GetInputNameForEvent` for `Context` interface