This should be:

```js
id = value.get(value.idAttribute);
```

to support custom `idAttribute`s