Method Search.Database.Base()->allocate_field_id() Method allocate_field_id int allocate_field_id(string field) Description Allocate a field id. Parameter field The (possibly wide string) field name wanted. Returns An allocated numeric id, or -1 if the allocation failed.