MemberVariable: add static method to remove need for creating dummy instances

(just to get the name of the variable)