Linter is throwing error, and indeed "id" is not defined. 