Previously a note was always issued on a variable declaration itself. Now it points to the actual assignment of get_local_id to the variable, like with fields. Do the same for note messages about inferred id-dependencies. They previously pointed to the declaration of the original id-dependent variable, not the assignment from it.
There are six cases of assignment inferrence in the code, all are tested: a variable initialized from a variable/field, a variable assigned from a variable/field, a field assigned from a variable/field.
Depends on D145305