Add convenient way to fetch a resource by ID. close #162