Equational logic for names and binders