store name attribute as mName member, if found