UDLdap.py: make a cache for __getitem__() decisions.