Make sure id is always a string