nameInDatabaseCase

Returns the table name in proper case. Should be called within transaction or default tableName will be returned.