determine camera id