added some id helper methods to restpack context