Support list of generic types.
Support transferring List of UUIDs.
Introduced an identifier pool to simplify the intermediate variable names.

Also refactored the handling of List<UUID> and UUID[] to reduce duplication
in the .rb file.