Some helpers for working with fast_paths.
A bidirectional mapping between fast_paths NodeId and some custom ID type.