public static function toNativePropertyName($property)
    {
        $propertyNames = array_keys(static::getPropertyPrototypes());

        if (! in_array($property, $propertyNames)) {
            foreach ($propertyNames as $propertyName) {
                if (strtolower($propertyName) === strtolower($property)) {
                    return $propertyName;
                }
            }
        }

        return $property;
    }