dsl refactors
tweak inspect
add a purge command
tweak belongs to handling
more spec
move assigning the id attribute
check for primary key collision
add purge calls; add more specs