Sequence Generation via Subsequence Similarity: Theory and Application to UAV Identification