Handle namespace collision warnings

This handles namespace conflicts warning when you use a class that conflicts with different class names the namespace hierarchy.

@ke-yu @aparajit-pratap 

what happen 
  1. if ``ident`` == null?
  2. if  ``ident != null`` but ``classNames.Length <= 1``?