def construct_dom_id_filter(dom_resource_subclass, dom_id_value):
    """
    Returns a new dict w/ one entry: { <dom-id-key>: <dom-id-value>}

    The dom-id-key is name of the ID field/attribute for the given type of
    DOM resource (a subclass of pvc_nova.objects.dom.Resource).  The
    dom-id-key is obtained from a class-method 'get_id_attr_name()', which
    should be defined on the given DOM Resource subclass.
    """
    return {dom_resource_subclass.get_id_attr_name(): dom_id_value}