When making a modpack I usually use a tool like this to dump ID's after a mod change (old NEI's Feature). I suggest a boolean toggle in the config file to recreate the dump folder so it can be turned off when not needed.
Edit: Nevermind forgot i had too type a command to dump ID's