Shorten a varname