Check for UUID format before using