/*
* call-seq:
* method.method_id => Symbol
*
* Given a Method, returns the Symbol of the method it represents. If
* the method is an alias for another method, returns the Symbol of the
* new method, not the original. If the method changes name, returns
* the original name, not the new name.
*/
static VALUE method_id(VALUE method)
{
struct METHOD * m;
Data_Get_Struct(method, struct METHOD, m);
return ID2SYM(m->id);
}