remove id from instance attributes method