Generates a unique ID. Returns a string.
!!! example
```
$uniqueId = util\generateId();
```
As of v7.5.
Generates an ID that can be used as an ID for an entity. Returns a string.
!!! example
```
$recordId = util\generateRecordId();
```
As of v8.3.
Base64 encode.
As of v8.3.
Base64 decode.