Added hostIdentifier to info output

Small change that adds the the hostIdentifier in the output to the info log when running queries.

Also, wraps the `DBHandle::getInstance()` call in a try block, an cause the `getHostIdentifier()` function to throw an error if it cant access the DB.
This was already removed a few commits ago, you may need to rebase.