At some point, every parent realizes that their child is unique. It's impossible to accurately predict exactly who your child will become or how they will react to the world, but it certainly doesn't hurt to try. Some kids make it more obvious than others, especially if they're inherently more strong willed than their peers or siblings. Learning how to tell if your child is going to be a perfectionist will take some time, but eventually their behavior, which may have been confusing or frustrating at first, will make sense as you grow to understand the way their brain works.
Perfectionism in children is similar to the same in adults. According to Today's Parent, perfectionists are motivated by a fear of failure and generally have high levels of anxiety. When channeled properly, it can be a tool to help them work hard and realize their goals. If not addressed, however, perfectionism can be crippling.
Luckily, spotting it from a young age will work in your favor as you learn to handle their behavior earlier rather than later. Teaching your child that "nobody's perfect" might be a difficult task, but if you can strike a healthy balance, your child will put their drive for excellence towards something amazing.