Working hash table with key

Before I was using the element as the key and hashing
the void* that came in, but I really do need a key
to access the portfolios.