I have a field that is created on a tab for a plugin via the XML install file. When the plugin is "deleted" (might want to rename to "uninstall") it removes the tabe, the plugin and the record in comprofiler_fields, but does not remove the field from the comprofiler table.