core: hold data defs in a list so we can check for duplicate defs
core: check for duplicate data type defs