Update getIdentifier function to support $id = 0

Changed if clause to explicitly check for $id not being false.
Previously when $id is set to int 0 the getIdentifier function results
in returning false which is wrong. It should return the integer 0.
Rollback

Rollback unwanted changes
Merge branch 'master' of https://github.com/Wilt/PhlyRestfully