In the Google Play Store is an app called "Whoisit" which will allow you to do this and more for $1.99. There is a free "lite" version but I don't know if it would suffice.
There is an app out there called Tasker. It's pretty powerful. I am actually looking to do the same thing. Here is a wiki about Tasker Profiles - Tasker Wiki
If I find the solution I will post myself.