Ensure that returned id is a string.