clarify logic for extracting property IDs and lookups