main: Improve changing SYSLOG_IDENT

This commit adds a message in logs when SYSLOG_IDENT is being changed
and modifies order of reload actions to do this as the first thing, so
that all the things that are logged during reload will use the new
SYSLOG_IDENT.

Change-Id: I63785f435cb193d31617dcdbac972dde9cac8a31