ATTRACTOR AND PATTERN CONTROL IN NONLINEAR MEDIA BY LOCALIZED DEFECTS