Include scriptId in custom field list requests

When creating a new record with custom fields, the internal id is
unknown.
Merge branch 'script-id-custom-fields'