Made a safer method for concatenating an integer to strings.