Adds support for ID-based forecast retrieval

... along with unit and functional tests.