Not sure if I understand your question but here is what I think you are asking...
So on a browse you have a unique identifier setup on the template eg VEN:ID
In server side code p_web.gsv('VEN:ID') will return me vendor ID even if it is not displayed on the browse but because it is the unique identifier.
HTH's
Kev