tk2dSprite has no connection to the tiles. The sprite collection (tk2dSpriteCollectionData) contains a list of sprite definitions. the tk2dSprite displays a sprite definition, and the tile map displays a sprite definition as a tile. If you need to get a spriteId by name, etc, you can simply do so from the sprite collection data object (GetSpriteIdByName is the function you want).