detects duplicate portfolio name