Some refeactoring of my test code.
Fixed the wrong function signature for dv_define_structure.
DefineStructure now returns a SemanticID.