This function determines whether two SOM IDs represent the same string.
somId id1; somId id2; int rc; rc = somCompareIds(id1, id2);