f=random(randomObjectClass)
The returned function f takes the following options:
* Attempts => ... a nonnegative integer or infinity (default) that limits the maximal number of attempts for the construction of an object
* Certify => ... true or false (default) whether the output is certified. The certifying properties are encoded in the Certification function of the randomObjectClass