credo il tutto si possa fare più semplicemente recuperando l'ID del bottone che genera l'evento.

string nomeID = e.ID;