private function generateUuid() { // php 5.3 compatibility, no direct execution of this closure. $g = $this->uuidGenerator; // TODO do we need to check with the storage backend if the generated id really is unique? return $g(); }