added Shape.getName() method