Added generation of UUID for ids during offline modus.