Chemical sensitivity of porphyrin assemblies