pH and acidity/basicity of compounds