Why do you need to get the animation name? If for some reason, you really need to do it that way, you could do something like if sprite animation frame = 1, then set a variable to whatever you want it to be called. if frame is 2, then change the variable to whatever you like. etc.. then you could call on that variable to do whatever it is you're doing. (this essentially does what you were asking for originally about giving the first frame a number like 95)
But I really don't think it's necessary to do all that if I'm understanding correctly what you're doing.
unfortunatly you didn't , let me tell you why i need it you might suggest me easy solution to my problem, i hade problem with Android keyboard when it shows it scales my page down and make it very small , but i some element are important i need them to still looks big , generally i don't want the page to scaldown. i couldn't figure out how to fix that . so i decided to make my own costum keyboard , i wanted to make buttons for the keyboard but you can't text from button unless you use values don't forget each button have many layers ( i mean lower case , uppercase and special character ) so picking up a value and changing the button text each time isn't a good idea , i thought to make the buttons as sprites, and make 3 different animations for it ( lower case , apper case and special character) i used animations not frame because it have text name while frames uses numbers , so each time you touch the sprite gives you the animation name , and i will name the animations like ( char_91 ) a special text followed by the ascii code of the character shown in the animation then i will remove (char_) , why i use ascii ? because you can't name the animaton with special characters unless you name the button's animation like ("doublecotes") then make text replace and replace that part with doublecotes and that would be a pain to make a special action for each button .