Expose agent id getters to modules
Allow modules to get agent id via special API rather than config. This may be more convenient in some cases like !711 (comment 1118460008).
Allow modules to get agent id via special API rather than config. This may be more convenient in some cases like !711 (comment 1118460008).