'Initialize the cache of resource class identifiers.
:param ctx: `nova.context.RequestContext` from which we can grab a
`SQLAlchemy.Connection` object to use for any DB lookups.'

def __init__(self, ctx):

    self.ctx = ctx
    self.id_cache = {}
    self.str_cache = {}
