Yes many states have laws about "altering" an ID, but I can assure you that writing your phone number in a blank spot on the back isn't going to land you in jail. I've never heard of anyone being formally charged for writing something on the back of an ID.