Schools are based on your address. The Wake County Public School System website is a great resource to determine what the base school is and review information about magnet schools in the area.
http://www.wcpss.net/parents/student-assignment/ - Talks about the change in school assignments effective 2012-12-11
http://wwwgis2.wcpss.net/addressLookup/ - This allows you to plug in specific homes you're considering to determine what the base school will be.
If I can help you any with your home search please don't hesitate to contact me.