getResourceByID
issue #22