don't use compound id as primary when importing kgml
a better error message