Bug 186940 Style name in theme cannot be identify by auto when reopen the library[01]
Description: Style name in theme cannot be identify by auto when reopen the library[01] Step: 1.Open a library and add a theme 2.New a style on the theme and use the default name that is "NewStyle" 3.Save the library, close it and reopen it again. 4.New another style on the same theme Actual result: The default style name on second times is also "NewStyle" Exception result: The default style name on second times is "NewStyle1"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ElementFactory.java
TabularMeasureGroup measureGroup = new TabularMeasureGroup( );
		module.makeUniqueName( measureGroup );
		element.add( module, measureGroup, ICubeModel.MEASURE_GROUPS_PROP );
		element.setDefaultMeasureGroup( measureGroup );
		return element.handle( module );
	}
	/**
	 * Creates a new dimension element. The name is required. If the
	 * <code>name</code> is null, we will make a unique name for it.
	 * 
	 * @param name
	 *            the dimension name
	 * @return a handle to the dimension element
	 */
	public TabularDimensionHandle newTabularDimension( String name )
	{
		TabularDimension element = new TabularDimension( name );
		module.makeUniqueName( element );
		
		TabularHierarchy hierarchy = new TabularHierarchy( );
		element.add( module, hierarchy, IDimensionModel.HIERARCHIES_PROP );
		module.makeUniqueName( hierarchy );
		
		element.setDefaultHierarchy( hierarchy );
		return element.handle( module );
	}
	/**
	 * Creates a new hierarchy element. The name is required. If the
	 * <code>name</code> is null, we will make a unique name for it.