This should have the same effect.
Getting it through Bukkit is bad.
Using UUID is safer.