Generate IDs on the client

You can used the @id directive to assign strings as ID. So process would be on the client side use something like uuid to generate unique keys and then use them in mutations when adding new data.