Changed the ID defines to enums instead so that it's easier to add new elements