returns an array containing all compound IDs
(This is used because previously we iterated through the list of compounds because vacuoles were compound specific, but as they are now generalized there needed to be a new way to iterate through the list)