Getting Animcurve Names

does anyone know how to get the animCurve's node name for a specific attribute?

Looks like maya gives them generic namesl like animCurveTL77 etc.
say I have pSphere1 and I want to get the animcurve name for translate x?

listConnections -c on ball.ty

ok thanks