SpellIDs > spall names
If you're talking about keeping track of which ID is for which spell when you look at your code later, then make a note of it in your code.
Lua Code:
local spells = {
345679 = true, --spell name
906723 = true, --other spell name
}