[SD-945] Generating unique_id and unique_name

This can be used instead: `from .common import get_user`.