Extract local variable key