Separate Resource IDs and entity IDs