How to get CDP collateral type

vat.gem(ilks, address) only returns the amount of the collateral.
How to find which collateral is in the CDP?