cell adhesion mediator activity [GO_0098631] - Virtual Fly Brain