Added getIDList function to primitiveManager