Understanding the aggregation induced emission enhancement for a compound with excited state intramolecular proton transfer character.