Agreed. I think of two stages:

1) Spring-config'd ID. I can add another commit if you think it worthwhile.
2) Indexer _reads_ the Solr schema and inspects for unique ID as well as other interesting info. (Much later.)