Added command line option -i(--index) for indexing preferences
Added some methods in IdsManager and IdManager to get name from index
Comments and some changes in class TermIndexAtom