Get database IDs (DB_IDs), given a set of GO IDs.

def get_ids_g_goids(self, goids):
        """Get database IDs (DB_IDs), given a set of GO IDs."""
        return set(nt.DB_ID for nt in self.associations if nt.GO_ID in goids)