if it is important to know someone's gender, ask them
assigning genders is inherently inaccurate
consider the impact on individuals for whom your assumptions are wrong