Get the permission id of a session.
PermissionId permissionId = instance.getPermissionId(session);
AccountInstance
The instance of the account used for testing.
Session
The session to get the permission id from.
PermissionId | bytes32
The permission id of the session.