         let title = getTitle()
         let type = getType()
         
-        // We should check if it has an outlet first and if it does it would be unique without the parent
         if className != "" {
             id = id + ", ClassName: " + className
         }

            return
        }
        else {
            // Could just make it and return it here instead of setting it in setID
            element.setID(self)
            var idString = element.getID()
            
            var testIDString = idString
            var duplicateCount = 1
            
            // This to make sure that we do not have a duplicate. If we do it appends a number to it
            // This number is increasing based on the order it was added to the xml
            while AssociatedKeys.existingIDArray.contains(testIDString) {
                testIDString = idString

        }
    }
    
    func getExisitingIDArray() -> [String] {
        return AssociatedKeys.existingIDArray
    }
