Conform to method argument naming convention
Conform to method argument naming convention

Rename the argument `name` to `ptype` for consistency with
internal API methods.

casbin/casbin,hsluoyz/casbin,faceless-saint/casbin