pub fn append_with_depth(depth: usize, var: &str, buffer: &mut String)
Appends a depth suffix to a variable name