add lookup_{event,value}_id to Swarm