ID saving/loading added to serializer and deserializer