FibSetter[f_Symbol] := (f[0]=f[1]=1; f[n_] /; n>1 := f[n]=f[n-1]+f[n-2])

FibSetter[f]

?f

FibSetter[g]

?g

g[10]

f[10]