calculation of whether naming vector is unique or not

Signed-off-by: dvorkinista <villain@noironetworks.com>