[OT] form design best practices for autofill?

This is off-topic from Rails though what I learn from any responses
will be used in a Rails app.

My app has a sign-up facility where I request a user’s first name,
last name, address, etc. Are there any best practices for naming the
field elements so the autofill functions in Firefox, Explorer, Safari
and others can pick up the names and autofill the form?

Thanks for any tips or hints.

cr