Use actual uid for docs
Start with id generation