You have to use the right type of weapons in the right sequence to level up the IDs to specific types. It's been a while since I played this so can't remember the exact sequence but the upgrade paths are shown in-game so just follow the same one I did. Nothing in the playthrough is edited so it will be shown .