The theory of transit assignment: basic modelling frameworks