preparing for MAdeK API change

MAdeK replaces the integer IDs with UUIDs. The plugin can now cope with both, the old and the new IDs.