set_servicepattern function

Calculate service pattern ids for a GTFS feed