It should be possible to get the Litium ID of the role using customerRoles in Storefront API. Currently there is only the translated name and ID of GraphQL cache.
We need something like this:
query GetContent {
customerRoles {
id
roleId
name
}
}