get all active profiles with %PACTIVE and %PENABLED
The variables %PACTIVE and %PENABLED do not contain Profile names that have been assigned by Tasker, regardless of if they are active or enabled. Those variables will only contain the names of user-named Profiles. Also the expected function of %PACTIVE and %PENABLED is to get all Profiles that are enabled or active.
Also some of the names that Tasker uses for auto-naming look like they were named by a user, which can cause problems later on, if an user thinks the profile was named by him.