Imaging the local ideality factor by contactless photoluminescence measurement