I think this should be part of `get_binding_id`