convert to number like object
## S4 method for signature 'PoolName' PoolIndex(id, poolNames)
id
pool id
poolNames
names of pools