generate plugin id