Fix Entity identifier handling for ancestors

Use the Entity's defined single identifier field column name rather than hardcoded 'id' when getting data from the ancestor result array in the processPostPersist method.