private void renameFragment(ProgramFragment fragment, String fragmentName) {
		String newName = fragmentName;
		int count = 1;
		while (!doRenameFragment(fragment, newName)) {
			newName = fragmentName + "_" + count;
			count++;
		}
	}
Prior to command execution the block's artificial attribute state may be specified
and will be applied to the new memory block.
@param a block artificial attribute state
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AbstractAddMemoryBlockCmd.java