Fix wrong IDs being passed to portal permission store
A second commit renames the functions that interact with the portal permissions - these are not Flatpak specific (i.e. are also used by Snaps and other packaging systems.
A second commit renames the functions that interact with the portal permissions - these are not Flatpak specific (i.e. are also used by Snaps and other packaging systems.