Cast id to string