code: int getChainUserIndex(int chain, int index) {
  		int i = getChainIndex_(chain);
  		AttributeStreamOfInt32 stream = m_chainIndices.get(index);
  		if (stream.size() <= i)
  			return -1;
  		return stream.read(i);
  	}
docs: Returns a user index value for the chain.