Add 'id' property to animation object