[timelines] allow loading of pes by id.

Implements [2470](https://www.openproject.org/issues/2470)