add the widget ids to the context for rendering labels