MODE-1772 - Updated the Connector SPI so that connectors can generate IDs for new nodes

For this to be possible, the _DocumentStore_ SPI had to be updated as well, so that it allows this operation. Also, the existing unit test which validated the issue was updated/fixed.