Parent or attached_to object pid now in hidden field in new object forms

Fixes #1127