Knowing what indexes a company's stock is listed in can help predict its future price movement. Here's how to check.