adding name() method to action for introspection