Pterygoplichthys can be identified by the number of rays in the dorsal fin. Ten or more dorsal rays (usually more than 10) indicates that it's a Pterygoplichthys. Most other plecos have 8 or fewer rays (in particular the larger Hypostomus species that are most likely to be confused with Pterygoplichthys).
Comparison of the genital papilla in mature fish shows the differences in the sexes to the trained eye. In males this is a small yet thick stump which noticeably protrudes from the fish's undercarriage. In females it is less obvious and is recessed or lies flat with the body.