Format variable names