persona ID autogeneration

if ID is supllied as parameter, it is used, otherwise autogenerate