cast ids to strings