String to int conversions with base argument support

Though actually yes passing None does raise an error.  We should change this so that the default value for the 'base' parameter is 10, so that we handle None correctly and also don't need a separate path.