Identifiers generated for inserts will be returned from WriteBatch::insert()
This commit also restructures the namespaces and some write method APIs.