We need to be able to set and change DB ID in standalone client, and also ensure that the latest DB ID is set again when a connection reconnects.