An identification approach to lighting control