make sure ID is a string when using set_id