Simplify code for building Call ID's, create generic random string function