Restructured PlantDB to use IDs.