This function returns the SOM ID that corresponds to a given text string.
Ownership of the somId returned by this function passes to the caller, which has the responsibility to subsequently free the somId using SOMFree.