[python] fixed bug in WrapScope::nested_name.  Closes #9