fix namespace extraction in EDAM import

in recent EDAM versions, namespace is not declared explicitely,
therefore I extract it from the class ID.