How to get the head of SymFunction in SymEngine.jl

I define a symfunction as

p=SymFunction(“p”)
Then I define some functions
f1=p(1)
f2=p(2)
The output is so called Basic type. I can get args conveniently by get_args(f1). But how can I get the head character “p” of f1 for example?
Thanks a lot.
By the way, does anybody know when does the symEngine can have solver functions? I am quite like to using symEngine as the amazing calculation speed. It will be quite nice if the developers can add the solve functions in it like SymPy.