QPID-4694: ensure that any IDs generated at startup are saved immediately, rather than waiting for the user to edit something that prompts the save to occur

merged from trunk r1463917


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1464463 13f79535-47bb-0310-9956-ffa450edef68