code: func entitiesFieldRename(field types.CustomFieldDef) {
  	entities := Map.All(field.ManagedObjectType)
  	for _, e := range entities {
  		entity := e.Entity()
  		Map.WithLock(entity, func() {
  			aFields := entity.AvailableField
  			for i, aField := range aFields {
  				if aField.Key == field.Key {
  					aFields[i].Name = field.Name
  					break
  				}
  			}
  		})
  	}
  }
docs: // Iterates through all entities of passed field type;
  // Renames found field in entity's AvailableField property.