method to generate pad id