Cache nid -> title mappings to reduce number of membership lookups
Since a single collection can contain many members, we could reduce the number of duplicate requests this script performs by keeping a local cache of node ids -> node titles.
Since a single collection can contain many members, we could reduce the number of duplicate requests this script performs by keeping a local cache of node ids -> node titles.