The Encounter Database can use a "trainers" folder, which contains pk files from various trainers.
Create that folder, dump some pkm from various trainers, then reboot the program. Creating new pkm from encounter templates will then fetch appropriate trainer details (if available in the trdb).
(the trainer database approach is the best compromise, as it allows the user to whitelist certain trainer data instead of hungrily searching backups/data in the current save file).