Refactored conversion of station string to id => StationString class and static function for re-use