Rename database identifiers

Rename database identifiers to:

- be lowercase
- have underscore as as a word delimiter