renaming ResourceId to BitmapId