Convert ID to string