method base: add name() accessor
cc class: add name() accessor