LPS-44581 Use random ids instead of magic numbers