public string function createVisitor()
Creates a new visitor record and sets cookie (if sessions are available). Returns the ID of the visitor.