protein homodimerization activity [GO_0042803] - Virtual Fly Brain