This function returns 1 if the two input IDs represent strings that are equal; otherwise, it returns 0.