dbTableNameFix function

Format input for database schema/table names.