Publishing replaces generated ID's with ID's returned from the server.