Fix Java Generator to always generate valid Java variable names