changed id structure to include model name so that it's guaranteed unique even with several models indexed