Fix per-instance attributes by using any object for the id (not just a string or number).