[SD-945] Generating unique_id and unique_name

Probably for a later investigation we have to add here a TODO: statement and a github issue.