Added elements to remove some hardcoded primaryKey field name

This pull request helps in the situations where the ACO object's do not have "id" has primaryKey field.
See issue #18