cast id to a string