Generate list of unique prefixes from list of IDs.
Got list functionality fully working.