In Vancouver we go by the name, and it's complicated by lines branching.
The lines (really 'routes') are different colours on the map, but they are not numbered (or if they are numbered, the numbers are not generally known).
Also, if they were numbered, you'd probably have to assign 2 numbers...