Is the Resource ID referred in rbac the database ID?

The rbac rules refer to Resource IDs. Is this the database ID of the resource ?
if it is the database id , it is hard for the users to deal with because they may not know the value.

For resources like Process Definition there is a business key, key and version etc which may uniquely identify a single process definition. But, I am not sure if this facility (non id unique keys) is available for all the resources under rbac.

What is the correct ‘resource id’ ? is it db id, unique keys or either of them ?

thank you