Determination of quantum symmetries for higher ADE systems from the modular T matrix