Stricter database name format

- All non-alphanumeric characters are replaced with underscores
- String is forced to lowercase