Chief PHL economist backs online gambling tax, calls for safeguards