Getting sensor name from `apbase'

Finally found how to get the sensor name in the Aptina documents. Using
this for generating directory and filenames, so we can distinguish
different experimental settings.