Abstract: A sensor device is disclosed for identification of a gaseous component in a gaseous or liquid sample. The sensor device comprises an optode membrane having sensitivity for the gaseous component to be identified. The optode membrane incorporates two ionophores, at least one of which is a chromoionophore capable of changing absorption spectrum. The sensor device further comprises a hydrophobic gas-permeable membrane, one side of which is positioned upon the optode membrane to prevent direct contact of the optode membrane with the liquid or gaseous sample while still permitting passage of the gaseous component to be identified. As a result, ionic compounds incapable of passing through the lipophilic gas-permeable membrane do not interfere with the identification process leading to a highly sensitive sensor.