Quick-fix to print ids correctly in hidden fields

When adding a hidden field for a relationship, pods will print 'Array' in the value attribute instead of the related item id. This fix simply checks if the value is an array and joins it before printing.

Tested for single-select but not multi-select.