- use DBEvent constants instead of plain strings
- add new constant DBEvent::IDENTITY
- use DBEvent::IDENTITIY in all relevant places
- make sure connect() triggers CONNECT, then CONNECTED