assert element.getID( ) > NO_ID;
	private void buildNameSpaceAndIDMap( Module module, DesignElement element )	{		if ( module == null || element == null )			return;		assert !( element instanceof Module );		ElementDefn defn = (ElementDefn) element.getDefn( );		element.setID( module.getNextID( ) );		assert module.getElementByID( element.getID( ) ) == null;		module.addElementID( element );		// The name should not be null if it is required. The parser state		// should have already caught this case.		String name = element.getName( );		assert !StringUtil.isBlank( name )				|| defn.getNameOption( ) != MetaDataConstants.REQUIRED_NAME;		// Disallow duplicate names.		assert element.getContainer( ) != null;		int id = defn.getNameSpaceID( );		if ( name != null && id != MetaDataConstants.NO_NAME_SPACE				&& element.isManagedByNameSpace( ) )		{			NameSpace ns = module.getNameSpace( id );			assert !ns.contains( name );			ns.insert( element );		}		for ( int i = 0; i < defn.getSlotCount( ); i++ )		{			ContainerSlot slot = element.getSlot( i );			assert slot != null;			for ( int pos = 0; pos < slot.getCount( ); pos++ )			{				DesignElement innerElement = slot.getContent( pos );				buildNameSpaceAndIDMap( module, innerElement );			}		}	}