Identify local variables in code