LPS-49953 Change the way random id is generated, formatting attributes