Add missed 'name' property for ReflectionFunction, resolves #2493