How to know where the value of a field is being stored in
Sounds as if you are asking how to see what's available to you in a variable.

Install the Devel module, and just use the dpm() function:

dpm($variable);


It will use Krumo to represent the data you pass and display it on the page. If it's an array, it will show you all the elements, same for objects and so on.