modified algorithm to generate object name suffix